<?php 
namespace app\model;
use think\Model;

class ProblemBank extends Model
{	
    public static function getStatusCn($key){
        $list = [1=>'启用',0=>'停用'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = [1=>'启用',0=>'停用'];
        return $list;
    }

    public static function getTypeCn($key){
        $list = ['小程序内部','外部链接（公众号）'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['小程序内部','外部链接（公众号）'];
        return $list;
    }
}


 ?>